should parse object type with fields